package com.woniuxy02;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-05-22 14:06
 */
public class Test09 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入java成绩");
        int java = sc.nextInt();
        System.out.println("输入html成绩");
        int html = sc.nextInt();
        if ((java>=90&&html>=85)||(java==100&&html>=80)){
            System.out.println("考的不错，奖励");
        }else{
            System.out.println("惩罚");
        }
        System.out.println("程序结束");
    }
}
